[USER (data scientist)]: Awesome! Now, I'd like to estimate the probabilities using player performance and head-to-head records, with a 70% weight for the new competitor's win rate. Please define a function to estimate the probability of winning for two players in a tennis match, based on their individual win rates, head-to-head win rates, and specified weights for overall performance and head-to-head results.
My template of code snippet is:

---BEGIN CODE TEMPLATE---

import pandas as pd
import numpy as np
import pickle
from decision_company import read_csv_file,

# please import the necessary private functions from decision_company first

# Load the dataset 
atp_tennis = read_csv_file('atp_tennis.csv')

# YOUR SOLUTION BEGIN:
<code1>
[COMPLETE YOUR CODE] 
</code1>
# YOUR SOLUTION END

---END CODE TEMPLATE---

[YOU (AI assistant)]: Sure thing! Here's a function that does just that, taking into account the performance and head-to-head weights: 
'''
import pandas as pd
import numpy as np
import pickle
from decision_company import read_csv_file,

# please import the necessary private functions from decision_company first

# Load the dataset 
atp_tennis = read_csv_file('atp_tennis.csv')

# YOUR SOLUTION BEGIN:
